*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-thumb {
  background-color: #888; /* 滑块颜色 */
  border-radius: 5px; /* 边角半径 */
}

body {
  background-color: #212121;
  color: #a3a1a1;
}

.title {
  text-align: center;
  padding: 20px 0;
  color: #f5f5f5;
}

#app {
  --gap: 18px;
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  padding: var(--gap);
}

.card {
  text-align: center;
  padding: 8vw 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  left: var(--card-border-x, -1000px);
  top: var(--card-border-y, -1000px);
  border-radius: inherit;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    closest-side circle,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

.inner {
  position: absolute;
  inset: 2px;
  background-color: #212121;
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}
